
class SurveyCountMethod < ActiveRecord::Base
  belongs_to :total, :class_name => "CountMethod", :foreign_key => "total"
  belongs_to :avg, :class_name => "CountMethod", :foreign_key => "avg"
  belongs_to :dimen_total, :class_name => "CountMethod", :foreign_key => "dimen_total"
  belongs_to :dimen_avg, :class_name => "CountMethod", :foreign_key => "dimen_avg"
  belongs_to :children_total, :class_name => "CountMethod", :foreign_key => "children_total"
  belongs_to :children_avg, :class_name => "CountMethod", :foreign_key => "children_avg"
  has_one :test

  
end
